﻿#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_StudyQtWebEngine.h"
#include <QtWidgets/QtWidgets>
#include "AMWebEnginePage.h"

class StudyQtWebEngine : public QMainWindow
{
    Q_OBJECT

public:
    StudyQtWebEngine(QWidget *parent = Q_NULLPTR);

public slots:
    void TestBtnDownloadClicked();
    void sltDownloadFileFinished(QWebEngineDownloadItem* download);

private:
    Ui::StudyQtWebEngineClass ui;
    AMWebEnginePage* m_pWebEnginePage{nullptr};
};
